<cpanel setvar="headerimg=../images/mailmenu.gif">
<cpanel setvar="dprefix=../">
<cpanel Branding="include(stdheader.html)">
  <div class="body-content">
    <h1><cpanel langprint="CGPImportContacts"></h1>
      <!-- <?cp CommuniGate::UploadFile(%,msg) file=$FORM{'file'} ?> -->
      <p><?cp CommuniGate::ImportContacts(%,msg) file=$FORM{'file'},account=$FORM{'account'},box=$FORM{'box'},header=$FORM{'header'} ?></p>
      <cpanelif $CPERROR{'CommuniGate'}>
	<p><cpanel langprint="CGPError">: <em><cpanel print="$CPERROR{'CommuniGate'}">!</em></p>
      </cpanelif>
      <cpanelif !$CPERROR{'CommuniGate'}>
	<p><cpanel langprint="Imported">!</p>
      </cpanelif>

    <div class="return-link">
      <a href="contacts.html?account=<cpanel formprint="$FORM{account'}">">&larr; <cptext "Go Back"></a>
    </div>
  </div> <!-- END body-content -->
<cpanel Branding="include(stdfooter.html)">
